﻿using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;

namespace Devonline.Identity.Admin;

/// <summary>
/// 附件及文件操作类服务通用接口
/// </summary>
[ApiController]
[Route("api/[controller]")]
[Authorize(Roles = GROUP_MAINTAINERS)]
public class AttachmentsController(
    ILogger<AttachmentsController> logger,
    AspNetCore.IDataService<IdentityDbContext, Attachment> dataService,
    IAttachmentService attachmentService,
    IFileService fileService) :
    AttachmentServiceController<IdentityDbContext>(logger, dataService, attachmentService, fileService)
{ }